package org.linlinjava.litemall.db.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.litemall.db.domain.ServiceAddress;
import org.linlinjava.litemall.db.domain.ServiceAddressExample;

public interface ServiceAddressMapper {
    long countByExample(ServiceAddressExample example);

    int deleteByExample(ServiceAddressExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ServiceAddress record);

    int insertSelective(ServiceAddress record);

    List<ServiceAddress> selectByExample(ServiceAddressExample example);

    ServiceAddress selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ServiceAddress record, @Param("example") ServiceAddressExample example);

    int updateByExample(@Param("record") ServiceAddress record, @Param("example") ServiceAddressExample example);

    int updateByPrimaryKeySelective(ServiceAddress record);

    int updateByPrimaryKey(ServiceAddress record);
}